package com.guofen.dao;

import com.guofen.pojo.SjqFlocculationProduceCheck;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqFlocculationProduceCheckMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqFlocculationProduceCheck record);

    int insertSelective(SjqFlocculationProduceCheck record);

    SjqFlocculationProduceCheck selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqFlocculationProduceCheck record);

    int updateByPrimaryKey(SjqFlocculationProduceCheck record);

    SjqFlocculationProduceCheck selectLastById(Integer id);

    List<SjqFlocculationProduceCheck> findEquipList();

    List<SjqFlocculationProduceCheck> findFaultEquipList();

    List<SjqFlocculationProduceCheck> selectAll();

    List<SjqFlocculationProduceCheck> selectByDate(@Param("startDate") String startDate,
                                           @Param("endDate") String endDate);
}